package com.yzm.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yzm.mapper.OperatorMapper;
import com.yzm.pojo.Operator;
import com.yzm.service.OperatorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OperatorServiceImpl extends ServiceImpl<OperatorMapper, Operator> implements OperatorService {

    @Autowired
    private OperatorMapper operatorMapper;

    @Override
    public Operator login(String username, String password) {
        return operatorMapper.login(username,password);
    }
}
